﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WinSCP;
using EFFC.Net.Returns;

namespace EFFC.Net.ResourceLib.Returns
{
    [Serializable]
    public class PrintRtn:ReturnStd
    {
        public PrintRtn()
        {
            AddReElement("IsSuccess", typeof(bool));
            AddReElement("ErrorMessage");

            SetValue("IsSuccess", false);
        }
        /// <summary>
        /// 执行是否成功
        /// </summary>
        public bool IsSuccess
        {
            get { return GetValue<bool>("IsSuccess"); }
            set { SetValue("IsSuccess", value); }
        }
        /// <summary>
        /// 失败的信息
        /// </summary>
        public string ErrorMessage
        {
            get { return GetValue<string>("ErrorMessage"); }
            set { SetValue("ErrorMessage", value); }
        }
        
    }
}
